//
//  VCLoader.m
//  Utils
//
//  Created by enghou on 2018/4/16.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "VCLoader.h"

@implementation VCLoader
+(UIViewController *)vcWithName:(NSString *)name{
    UIStoryboard *story = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
    UIViewController *vc = [story instantiateViewControllerWithIdentifier:name];
    return vc;
}
@end
